|
|
|
|
- Use conditions
- Actions that can be performed on a multi-part archive
- Actions that can be performed on a single-part active
<zipArchive variable>.IsMulti (Function) In french: <Variable zipArchive>.EstMulti Returns the type of archive: single-part archive or multi-part archive.
MyArchive is zipArchive  // Open the archive "MyArchive" ResOpenArchive = MyArchive.Open("D:\Backups\Backup.zip")  IF ResOpenArchive = 0 THEN ... END // Single-part or multi-part archive? ResIsMulti = MyArchive.IsMulti() // Display the result IF ResIsMulti = True THEN Info("The archive is a multi-part archive") ELSE Info("The archive is a single-part archive") END
Syntax
<Result> = <Archive>.IsMulti()
<Result>: Boolean - True if the archive is a multi-part archive,
- False if the archive is a single-part archive.
<Archive>: zipArchive variable Name of a variable of type zipArchive corresponding to the archive to use. Remarks Use conditions - The archive type can be found only if the archive exists (archives are created using <zipArchive variable>.Create).
- This function is available for WDZ, ZIP and 7z archives.
Actions that can be performed on a multi-part archive Some archiving functions can only be used on the single-part archives (add and delete files, create a self-extracting executable, etc.). To perform these operations, simply merge the sub-archives ( <zipArchive variable>.Merge) to obtain a single-part archive. From a multi-part archive, you can only: Actions that can be performed on a single-part active All archiving functions can be used on single-part archives, except <zipArchive variable>.Merge, which is used to merge the different parts of an archive.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|